package com.czz.manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.czz.manage.entity.Audit;
import com.czz.manage.query.AuditQuery;
import com.czz.manage.vo.AuditVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName: AuditMapper
 * @Author Czz
 * @Date 2020/1/8
 * @Time 10:05
 **/
@Repository
public interface AuditMapper extends BaseMapper<Audit> {
    List<AuditVo> getAuditVoPageList(Page<AuditVo> pageParam, @Param("query") AuditQuery auditQuery);
}
